﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using DBLibrary;

[TableMap("PoseidonAdmin")]
public class AdminDBDetail
{
    public AdminDBDetail()
    {
        mDBPre = Math.Abs(Guid.NewGuid().ToString().GetHashCode()).ToString();
    }

    [ColumnMap("AdminName")]
    public string AdminName { get; set; }

    [ColumnMap("Pwd")]
    public string PassWord { get; set; }

    [ColumnMap("CompanyName")]
    public string CompanyName { get; set; }

    [ColumnMap("RetrieveQuestion")]
    public string RetrieveQuestion { get; set; }

    [ColumnMap("RetrieveAnswer")]
    public string RetrieveAnswer { get; set; }

    [ColumnMap("Email")]
    public string Email { get; set; }

    private string mDBPre;
    [ColumnMap("DBPre")]
    public string DBPre { get { return mDBPre; } set { mDBPre = value; } }

    [ColumnMap("KeyId")]
    public string KeyId { get; set; }
}